
<div id="infobox-fullwidth" class="margin-left">

	<h3 id="adduser">Add user</h3> 
	 <?php echo form_open_multipart('admincp/add_category',array( "id"=>"form")); ?> 
		 <fieldset id="opt">
			<legend>Danh mục cha ( nếu có )</legend>
			<label for="choice">Group : </label> 
				<select name="cateroot" id="cateroot">
					<option value="0" selected="selected" >----Mục cha------</option>
					<?php if($category != null):?>
					<?php foreach($category as $row):?>
						<option value="<?php echo $row->id?>"><?php echo $row->catename?></option>
					<?php endforeach;?>
					<?php endif;?>
				</select>
			 
		</fieldset>
		<fieldset id="address">
			<legend>Danh mục</legend>
			<label for="street">Tên danh mục : </label> 
			<input name="catename" id="catename" type="text" tabindex="1" /> <br /> 
			<label for="city">Loại danh mục: </label> 
			<select name="catetype" id="catetype"> 
					<option value="1" >Game</option>
					<option value="2" selected="selected" >Thông thường</option>
					<option value="3"  >Không xác định</option>
				</select>
		</fieldset>
		
		<div align="center">
			<input id="button1" name="submit" type="submit" value="Đồng ý" /> 
		</div>
	<?php echo form_close(); ?>  
</div>
